<!--
 @description 联系人信息
 @fileName Item.vue
 @author zengqiongying
 @created 2023/04/28 14:36:41
-->
<template>
  <div>
    <Cell v-if="showShopName" :modelValue="modelValue.shopName" title="门店名称" readonly defaultValue="--" />
    <Cell v-if="!hideName" :modelValue="modelValue.name" title="联系人姓名" readonly defaultValue="--" />
    <Cell :modelValue="modelValue.contactTypeName" title="联系人类别" readonly defaultValue="--" />
    <Cell :modelValue="modelValue.contactTel" title="联系人电话" readonly defaultValue="--" />
    <Cell :modelValue="modelValue.contactPhone" title="联系人手机" readonly defaultValue="--" />
    <Cell :modelValue="modelValue.contactFax" title="联系人传真" readonly defaultValue="--" />
    <Cell :modelValue="modelValue.email" title="联系人邮箱" readonly defaultValue="--" />
    <Cell :modelValue="modelValue.address" title="联系人地址" readonly defaultValue="--" custom />
  </div>
</template>

<script>
  import { defineComponent } from 'vue'
  import Cell from '@/components/Cell/index.vue'
  export default defineComponent({
    name: 'DealerCustomerContactsItemView',
    components: { Cell },
    props: {
      modelValue: {
        type: Object,
        default: () => {}
      },
      hideName: {
        type: Boolean,
        default: false
      },
      showShopName: {
        type: Boolean,
        default: false
      }
    },
    setup() {
      return {}
    }
  })
</script>
<style lang="less" scoped></style>
